package com.net.shard.manager;

import com.net.common.manager.DomainManager;
import com.net.shard.domain.ShardConfig;

import java.util.List;

/**

 */
public interface ShardConfigManager extends DomainManager<Long, ShardConfig> {
    List<ShardConfig> listShardConfig(String dataSourceName);

    ShardConfig findByShardId(String dataSourceName, Long shardId);
}
